package com.jboa.model;

/**
 * Authority entity. @author MyEclipse Persistence Tools
 */

public class Authority implements java.io.Serializable {

	// Fields

	private String id;
	private Tmenu tmenu;
	private Trole trole;

	// Constructors

	/** default constructor */
	public Authority() {
	}

	/** minimal constructor */
	public Authority(String id, Trole trole) {
		this.id = id;
		this.trole = trole;
	}

	/** full constructor */
	public Authority(String id, Tmenu tmenu, Trole trole) {
		this.id = id;
		this.tmenu = tmenu;
		this.trole = trole;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Tmenu getTmenu() {
		return this.tmenu;
	}

	public void setTmenu(Tmenu tmenu) {
		this.tmenu = tmenu;
	}

	public Trole getTrole() {
		return this.trole;
	}

	public void setTrole(Trole trole) {
		this.trole = trole;
	}

}